package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import org.apache.kafka.common.protocol.types.Field;

/**
 * @TableName tb_user
 */
@TableName(value = "tb_user")
@Data
public class TbUser implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer userId;

    /**
     *
     */
    private String username;

    /**
     *
     */
    private String password;

    /**
     *
     */
    private String mobile;

    /**
     *
     */
    private String email;

    /**
     *
     */
    private String realName;

    private String avatar;

    private Date createTime;

    private Integer checkStatus;

    private String checkReason;

    private Integer sex;

    @TableField(exist = false)
    private String token;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}